#pragma once

#include <QtWidgets/QWidget>
#include "ui_widget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class WidgetClass; };
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::WidgetClass *ui;

private:
    void do_valueChanged(int value);

//Qt 的槽函数需要slots这个“字”
private slots:
    void on_checkBox_Visible_clicked(bool checked);
    void on_checkBox_Inverted_clicked(bool checked);
    void on_radioButton_Percent_clicked();
    void on_radioButton_Value_clicked();

};
